const routes = [
  {
    path: '/',
    redirect: '/index'
  },
  {
    path: '/index',
    name: 'index',
    component: () => import('@/views/index/index.vue')
  },
  {
    path: '/use',
    name: 'use',
    component: () => import('@/views/use/use.vue')
  },
  {
    path: '/userAgreement',
    name: 'userAgreement',
    component: () => import('@/views/protocol/userAgreement.vue')
  },
  {
    path: '/privacyAgreement',
    name: 'privacyAgreement',
    component: () => import('@/views/protocol/privacyAgreement.vue')
  },
  {
    path: '/memberAgreement',
    name: 'memberAgreement',
    component: () => import('@/views/protocol/memberAgreement.vue')
  }
];

export default routes;
